package com.ironmaking.Utils.converter;

import com.ironmaking.Entity.User;
import com.ironmaking.Vo.data.dataInterface.IUser;

/**
 * @ClassName UserConverter
 * @Description 将实体类转换为前端所需数据对象
 */
public class UserConverter {
    public static IUser toVoUser(User user, ICopy<? extends IUser,User> iCopy){
        return iCopy.Copy(user);
    }
}
